package com.yanxml.spring.history.v3.demo3_import_selector;

import com.yanxml.spring.history.v3.demo3_import_selector.config.JavaConfig;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class StartAppDemo3 {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new AnnotationConfigApplicationContext(JavaConfig.class);
        for (String beanName : applicationContext.getBeanDefinitionNames()) {
            System.out.println(beanName);
        }
    }
}

// demo1_2:
//org.springframework.context.annotation.internalConfigurationAnnotationProcessor
//        org.springframework.context.annotation.internalAutowiredAnnotationProcessor
//        org.springframework.context.annotation.internalCommonAnnotationProcessor
//        org.springframework.context.event.internalEventListenerProcessor
//        org.springframework.context.event.internalEventListenerFactory
//        javaConfig
//        com.yanxml.spring.history.v3.demo3_import_selector.import_selector.Logger
//        com.yanxml.spring.history.v3.demo3_import_selector.import_selector.Cache